<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>数据字典-大正</title>
</head>

<body>
	<span style="font-weight: bold; color:#F93; aligh: center; font-size: 20px">
		款号档案
	</span>

	<s:if test='#request.operation == "new"'>
		<s:form action="stylearchaction?action=add">
			<s:textfield name="id" label='编号' readOnly="true" value="系统自动生成"></s:textfield>
			<s:textfield name="modelno" label='款号'></s:textfield>
			<s:textfield name="sstype"  label='首饰类别'></s:textfield>
			<s:textfield name="waxweight" label='蜡重'></s:textfield>
			<tr>
				<td>主石：</td>
				<td><s:textfield name="mstoneembed" label='镶法'></s:textfield></td>
				<td><s:textfield name="mstoneshape" label='形状'></s:textfield></td>
				<td><s:textfield name="mstonespec" label='规格'></s:textfield></td>
				<td><s:textfield name="mstonecount" label='粒数'></s:textfield></td>
			</tr>
			<tr>
				<td>副石A:</td>
				<td><s:textfield name="vstoneembeda" label='镶法'></s:textfield></td>
				<td><s:textfield name="vstoneshapea" label='形状'></s:textfield></td>
				<td><s:textfield name="vstonespeca" label='规格'></s:textfield></td>
				<td><s:textfield name="vstonecounta" label='粒数'></s:textfield></td>
			</tr>
			<tr>
				<td>副石B:</td>
				<td><s:textfield name="vstoneembedb" label='镶法'></s:textfield></td>
				<td><s:textfield name="vstoneshapeb" label='形状'></s:textfield></td>
				<td><s:textfield name="vstonespecb" label='规格'></s:textfield></td>
				<td><s:textfield name="vstonecountb" label='粒数'></s:textfield></td>
			</tr>
			<tr>
				<td>副石C:</td>
				<td><s:textfield name="vstoneembedc" label='镶法'></s:textfield></td>
				<td><s:textfield name="vstoneshapec" label='形状'></s:textfield></td>
				<td><s:textfield name="vstonespecc" label='规格'></s:textfield></td>
				<td><s:textfield name="vstonecountc" label='粒数'></s:textfield></td>
			</tr>
			<tr>
				<td>副石D:</td>
				<td><s:textfield name="vstoneembedd" label='镶法'></s:textfield></td>
				<td><s:textfield name="vstoneshaped" label='形状'></s:textfield></td>
				<td><s:textfield name="vstonespecd" label='规格'></s:textfield></td>
				<td><s:textfield name="vstonecountd" label='粒数'></s:textfield></td>
			</tr>
			<tr>
				<td>副石E:</td>
				<td><s:textfield name="vstoneembede" label='镶法'></s:textfield></td>
				<td><s:textfield name="vstoneshapee" label='形状'></s:textfield></td>
				<td><s:textfield name="vstonespece" label='规格'></s:textfield></td>
				<td><s:textfield name="vstonecounte" label='粒数'></s:textfield></td>
			</tr>
			<tr>
				<td>副石F:</td>
				<td><s:textfield name="vstoneembedf" label='镶法'></s:textfield></td>
				<td><s:textfield name="vstoneshapef" label='形状'></s:textfield></td>
				<td><s:textfield name="vstonespecf" label='规格'></s:textfield></td>
				<td><s:textfield name="vstonecountf" label='粒数'></s:textfield></td>
			</tr>
			<tr>
				<td>副石G:</td>
				<td><s:textfield name="vstoneembedg" label='镶法'></s:textfield></td>
				<td><s:textfield name="vstoneshapeg" label='形状'></s:textfield></td>
				<td><s:textfield name="vstonespecg" label='规格'></s:textfield></td>
				<td><s:textfield name="vstonecountg" label='粒数'></s:textfield></td>
			</tr>
			<tr>
				<td>副石H:</td>
				<td><s:textfield name="vstoneembedh" label='镶法'></s:textfield></td>
				<td><s:textfield name="vstoneshapeh" label='形状'></s:textfield></td>
				<td><s:textfield name="vstonespech" label='规格'></s:textfield></td>
				<td><s:textfield name="vstonecounth" label='粒数'></s:textfield></td>
			</tr>
			<tr>
				<td>副石I:</td>
				<td><s:textfield name="vstoneembedi" label='镶法'></s:textfield></td>
				<td><s:textfield name="vstoneshapei" label='形状'></s:textfield></td>
				<td><s:textfield name="vstonespeci" label='规格'></s:textfield></td>
				<td><s:textfield name="vstonecounti" label='粒数'></s:textfield></td>
			</tr>
			<s:textfield name="note" label="备注" />
			<s:submit value="提交"></s:submit>
		</s:form>
	</s:if>
	<s:else>
		<s:form action="stylearchaction?action=mod">
			<s:textfield name="id" label='编号' readOnly="true"
				value="%{#request.retrecord.id}"></s:textfield>
			<s:textfield name="modelno" label='款号' value="%{#request.retrecord.modelno}"></s:textfield>
			<s:textfield name="sstype"  label='首饰类别' value="%{#request.retrecord.sstype}"></s:textfield>
			<s:textfield name="waxweight" label='蜡重' value="%{#request.retrecord.waxweight}"></s:textfield>
			<tr>
				<td>主石:</td>
				<td><s:textfield name="mstoneembed" value="%{#request.retrecord.mstoneembed}"></s:textfield></td>
				<td><s:textfield name="mstoneshape" value="%{#request.retrecord.mstoneshape}"></s:textfield></td>
				<td><s:textfield name="mstonespec" value="%{#request.retrecord.mstonespec}"></s:textfield></td>
				<td><s:textfield name="mstonecount" value="%{#request.retrecord.mstonecount}"></s:textfield></td>
			</tr>
			<tr>
				<td>副石A:</td>
				<td><s:textfield name="vstoneembeda" value="%{#request.retrecord.vstoneembeda}"></s:textfield></td>
				<td><s:textfield name="vstoneshapea" value="%{#request.retrecord.vstoneshapea}"></s:textfield></td>
				<td><s:textfield name="vstonespeca" value="%{#request.retrecord.vstonespeca}"></s:textfield></td>
				<td><s:textfield name="vstonecounta" value="%{#request.retrecord.vstonecounta}"></s:textfield></td>
			</tr>
			<tr>
				<td>副石B:</td>
				<td><s:textfield name="vstoneembedb" value="%{#request.retrecord.vstoneembedb}"></s:textfield></td>
				<td><s:textfield name="vstoneshapeb" value="%{#request.retrecord.vstoneshapeb}"></s:textfield></td>
				<td><s:textfield name="vstonespecb" value="%{#request.retrecord.vstonespecb}"></s:textfield></td>
				<td><s:textfield name="vstonecountb" value="%{#request.retrecord.vstonecountb}"></s:textfield></td>
			</tr>
			<tr>
				<td>副石C:</td>
				<td><s:textfield name="vstoneembedc"  value="%{#request.retrecord.vstoneembedc}"></s:textfield></td>
				<td><s:textfield name="vstoneshapec"  value="%{#request.retrecord.vstoneshapec}"></s:textfield></td>
				<td><s:textfield name="vstonespecc"  value="%{#request.retrecord.vstonespecc}"></s:textfield></td>
				<td><s:textfield name="vstonecountc"  value="%{#request.retrecord.vstonecountc}"></s:textfield></td>
			</tr>
			<tr>
				<td>副石D:</td>
				<td><s:textfield name="vstoneembedd" value="%{#request.retrecord.vstoneembedd}"></s:textfield></td>
				<td><s:textfield name="vstoneshaped" value="%{#request.retrecord.vstoneshaped}"></s:textfield></td>
				<td><s:textfield name="vstonespecd" value="%{#request.retrecord.vstonespecd}"></s:textfield></td>
				<td><s:textfield name="vstonecountd" value="%{#request.retrecord.vstonecountd}"></s:textfield></td>
			</tr>
			<tr>
				<td>副石E:</td>
				<td><s:textfield name="vstoneembede" value="%{#request.retrecord.vstoneembede}"></s:textfield></td>
				<td><s:textfield name="vstoneshapee" value="%{#request.retrecord.vstoneshapee}"></s:textfield></td>
				<td><s:textfield name="vstonespece" value="%{#request.retrecord.vstonespece}"></s:textfield></td>
				<td><s:textfield name="vstonecounte" value="%{#request.retrecord.vstonecounte}"></s:textfield></td>
			</tr>
			<tr>
				<td>副石F:</td>
				<td><s:textfield name="vstoneembedf"  value="%{#request.retrecord.vstoneembedf}"></s:textfield></td>
				<td><s:textfield name="vstoneshapef" value="%{#request.retrecord.vstoneshapef}"></s:textfield></td>
				<td><s:textfield name="vstonespecf" value="%{#request.retrecord.vstonespecf}"></s:textfield></td>
				<td><s:textfield name="vstonecountf" value="%{#request.retrecord.vstonecountf}"></s:textfield></td>
			</tr>
			<tr>
				<td>副石G:</td>
				<td><s:textfield name="vstoneembedg"  value="%{#request.retrecord.vstoneembedg}"></s:textfield></td>
				<td><s:textfield name="vstoneshapeg"  value="%{#request.retrecord.vstoneshapeg}"></s:textfield></td>
				<td><s:textfield name="vstonespecg"  value="%{#request.retrecord.vstonespecg}"></s:textfield></td>
				<td><s:textfield name="vstonecountg" value="%{#request.retrecord.vstonecountg}"></s:textfield></td>
			</tr>
			<tr>
				<td>副石H:</td>
				<td><s:textfield name="vstoneembedh" value="%{#request.retrecord.vstoneembedh}"></s:textfield></td>
				<td><s:textfield name="vstoneshapeh" value="%{#request.retrecord.vstoneshapeh}"></s:textfield></td>
				<td><s:textfield name="vstonespech" value="%{#request.retrecord.vstonespech}"></s:textfield></td>
				<td><s:textfield name="vstonecounth" value="%{#request.retrecord.vstonecounth}"></s:textfield></td>
			</tr>
			<tr>
				<td>副石I:</td>
				<td><s:textfield name="vstoneembedi" value="%{#request.retrecord.vstoneembedi}"></s:textfield></td>
				<td><s:textfield name="vstoneshapei" value="%{#request.retrecord.vstoneshapei}"></s:textfield></td>
				<td><s:textfield name="vstonespeci" value="%{#request.retrecord.vstonespeci}"></s:textfield></td>
				<td><s:textfield name="vstonecounti" value="%{#request.retrecord.vstonecounti}"></s:textfield></td>
			</tr>
			<s:textfield name="note" label="备注"  value="%{#request.retrecord.note}"/>
			<s:submit value="提交"></s:submit>
		</s:form>
	</s:else>
</body>
</html>
